package com.woniu.dao;

import java.sql.SQLException;

import com.woniu.bean.Account;

public interface AccountDao {
	boolean findAccountNameExists(String accountName)throws SQLException;

	int saveAccount(Account a)throws SQLException;


	Account getAccountByNameAndPwd(String accountName, String accountPwd)throws SQLException, InstantiationException, IllegalAccessException;
	
}
